zino_inc = \
	$(ROOT)\ZINO\inc \
	$(ROOT)\ZINO\filter \
	$(ROOT)\ZINO\config \
	$(ROOT)\ZINO\dev_info \
	$(ROOT)\ZINO\iwdg \


zino_src = \
	./rt-thread/components/drivers/usb/usbdevice/class/cdc_vcom.c \
	./ZINO/hardware/i2c/i2c_device_search.c \
	./ZINO/zino.c \
	./ZINO/filter/filter.c \
	./ZINO/filter/maths.c \
	./ZINO/hardware/flash/flash.c \
	./ZINO/config/zino_config.c \
	./ZINO/dev_info/dev_info.c \
	./ZINO/dev_info/AT32Models.c \
	./ZINO/dev_info/bootloader.c \
	./ZINO/iwdg/iwdg.c \

ch1115_inc = \
	$(ROOT)\ZINO\hardware\ch1115
ch1115_src = \
	./ZINO/hardware/ch1115/ch1115.c \
	./ZINO/hardware/ch1115/oled_font.c \
	./ZINO/hardware/ch1115/ch1115_test.c
ssd1306_inc = \
	$(ROOT)\ZINO\hardware\SSD1306\inc \
	$(ROOT)\ZINO\hardware\SSD1306\examples
ssd1306_src = \
	./ZINO/hardware/SSD1306/examples/ssd1306_tests.c \
	./ZINO/hardware/SSD1306/src/ssd1306_fonts.c \
	./ZINO/hardware/SSD1306/src/ssd1306.c

# zino_src += $(ch1115_src)
# zino_inc += $(ch1115_inc)
#
zino_src += $(ssd1306_src)
zino_inc += $(ssd1306_inc)
#./applications/magicWand/magicWand.c

# 	./ZINO/hardware/spl06/sensor_goer_spl0601.c \
# ./ZINO\hardware\SSD1312\ssd1312.c\
	./ZINO/hardware/spl06/spl06_01.c \
	./ZINO/hardware/VI5300/VI5300_API.c \
	./ZINO/hardware/VI5300/VI5300_Firmware.c \
	./ZINO/hardware/VI5300/VI5300_UserPlatform.c \
	./ZINO/hardware/pmw3901/sensor_pixart_pmw3901mb.c \
	./ZINO/hardware/pmw3901/driver_pmw3901mb.c \
	./ZINO/hardware/VI5300/VI5300_API.c \
	./ZINO/hardware/VI5300/VI5300_Firmware.c \
	./ZINO/hardware/VI5300/VI5300_UserPlatform.c \


# include ./ZINO/hardware/ND03_SDK_V1.0.18/ND03_SDK.mk
# zino_inc += $(ND03_SDK_INC)
# zino_src += $(ND03_SDK_SRC)

zino_deps = $(patsubst ./%,./build/%,$(patsubst %.c, %.d, $(zino_src)))
zino_objs = $(patsubst ./%,./build/%,$(patsubst %.c, %.o, $(zino_src)))
zino_inc_dir = $(addprefix -I", $(addsuffix ", $(zino_inc)))
# $(info zino_inc_dir:$(zino_inc_dir))

inc_dir += $(zino_inc_dir)
nC_SRCS += $(zino_src)
nOBJS += $(zino_objs)
nC_DEPS += $(zino_deps)
